﻿namespace RuoVea.OmiSystem.Enums;

/// <summary>
/// 
/// </summary>
public class CommonConst
{
    /// <summary>
    /// 用户缓存
    /// </summary>
    public const string CACHE_KEY_USER = "user_";

    /// <summary>
    /// 菜单缓存
    /// </summary>
    public const string CACHE_KEY_MENU = "menu_";

    /// <summary>
    /// 权限缓存
    /// </summary>
    public const string CACHE_KEY_PERMISSION = "permission_";

    /// <summary>
    /// 数据范围缓存
    /// </summary>
    public const string CACHE_KEY_DATASCOPE = "datascope_";

    /// <summary>
    /// 用户授权数据
    /// </summary>
    public const string CACHE_KEY_USERSDATASCOPE = "usersdatascope_";

    /// <summary>
    /// 所有缓存关键字集合
    /// </summary>
    public const string CACHE_KEY_ALL = "allkey";

    /// <summary>
    /// 验证码缓存
    /// </summary>
    public const string CACHE_KEY_CODE = "vercode_";

    /// <summary>
    /// 库表实体信息缓存
    /// </summary>
    public const string CACHE_KEY_ENTITYINFO = "tableentity";

    /// <summary>
    /// 
    /// </summary>
    public const string SYS_MANAGER_ROLE_CODE = "MANAGER_ROLE_CODE";

    /// <summary>
    /// 所有权限缓存
    /// </summary>
    public const string CACHE_KEY_ALLPERMISSION = "allpermission";

}
